<template>
  <el-card>
    代收款
    <el-popover width="200px" trigger="hover">
      <template #reference>
        <el-icon>
          <WarningFilled/>
        </el-icon>
      </template>
      <el-card style="background-color: #f83685">
        <p>已销售课程，对于用户未确认时，且时间未到结课后7天。</p>
      </el-card>
    </el-popover>
  </el-card>
  <el-card style="margin-top: 10px;height: 100vh">
    <el-row style="display: inline">
      <el-input v-model="searchStr" style="width: 270px">
        <template #prefix>
          <el-icon>
            <Search/>
          </el-icon>
        </template>
      </el-input>
      <el-button style="margin-left: 15px">搜索</el-button>
      <p style="float: right">累计待收款：¥ 0.00</p>
    </el-row>
    <el-table style="height:100%">
      <el-table-column width="auto" align="center" label="项目"></el-table-column>
      <el-table-column width="200px" align="center" label="金额"></el-table-column>
      <el-table-column width="200px" align="center" label="操作"></el-table-column>
    </el-table>
  </el-card>
</template>

<script setup lang="ts">
import {WarningFilled, Search} from '@element-plus/icons-vue'
import {ref} from "vue";

const searchStr = ref('')
</script>

<style scoped>

</style>
